//
//  KDDUpdateBuilder.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 ZHBen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KDataDrivenProtocol.h"
#import "KDDUpdate.h"

@protocol KDDUpdateReceiver <NSObject>

- (void)didReceiveUpdate:(KDDUpdate *)update;
@optional
- (void)didReceiveBatchUpdateList:(NSArray<KDDUpdate *> *)updateList animated:(BOOL)animated completion:(void (^)(BOOL finished))completion;

@end

@interface KDDUpdateBuilder : NSObject <KDataDrivenOperation>

@property (weak,nonatomic) id<KDDUpdateReceiver> updateReceiver;

@end

